package org.nimi317.web_gis.form.post;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nimi317.web_gis.Enum.KrigingModelEnum;
import org.nimi317.web_gis.Enum.PollutionField;
import org.nimi317.web_gis.Enum.PollutionRange;

/**
 * @author thunderobot
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KrigingPost {

    @NotNull
    @Min(0)
    private Float alpha;

    @NotNull
    @Min(0)
    private Integer sigma2;

    //每个像元宽度单位m
    @NotNull
    @Min(100)
    private Integer width;

    //插值范围
    @NotNull
    private PollutionRange range;

    //模型
    @NotNull
    private KrigingModelEnum model;

    @NotNull
    private PollutionField field;
}
